using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
[Serializable]
public class MdKnifeTable : TableInfo
{
public const string C_TABLENAME = "Md_Knife";

public const string C_KNIFEID = "KNIFEID";

public const string C_KNIFENAME = "KNIFENAME";

public const string C_KNIFETYPEID = "KNIFETYPEID";

public const string C_SPECIFICATIONS = "SPECIFICATIONS";

public const string C_UNIT = "UNIT";

public const string C_BELONGCUSTOMER = "BELONGCUSTOMER";

public const string C_FACTORY = "FACTORY";

public const string C_SAFESTOCK = "SAFESTOCK";

public const string C_STATUS = "STATUS";

public const string C_CREATEDATE = "CREATEDATE";

public const string C_MODIFYUSERNAME = "MODIFYUSERNAME";

public const string C_CREATEUSERID = "CREATEUSERID";

public const string C_CREATEUSERNAME = "CREATEUSERNAME";

public const string C_MODIFYDATE = "MODIFYDATE";

public const string C_MODIFYUSERID = "MODIFYUSERID";

public const string C_KNIFESTATUS = "KNIFESTATUS";

public MdKnifeTable()
{
_tableName = "Md_Knife";
}

protected static MdKnifeTable _current;
public static MdKnifeTable Current
{
get
{
if (_current == null )
{
Initial();
}
return _current;
}
}

private static void Initial()
{
_current = new MdKnifeTable();

_current.Add(C_KNIFEID, new ColumnInfo(C_KNIFEID, "", true, typeof(String)));

_current.Add(C_KNIFENAME, new ColumnInfo(C_KNIFENAME, "", false, typeof(String)));

_current.Add(C_KNIFETYPEID, new ColumnInfo(C_KNIFETYPEID, "", false, typeof(String)));

_current.Add(C_SPECIFICATIONS, new ColumnInfo(C_SPECIFICATIONS, "", false, typeof(String)));

_current.Add(C_UNIT, new ColumnInfo(C_UNIT, "", false, typeof(String)));

_current.Add(C_BELONGCUSTOMER, new ColumnInfo(C_BELONGCUSTOMER, "", false, typeof(String)));

_current.Add(C_FACTORY, new ColumnInfo(C_FACTORY, "", false, typeof(String)));

_current.Add(C_SAFESTOCK, new ColumnInfo(C_SAFESTOCK, "", false, typeof(Decimal?)));

_current.Add(C_STATUS, new ColumnInfo(C_STATUS, "", false, typeof(String)));

_current.Add(C_CREATEDATE, new ColumnInfo(C_CREATEDATE, "", false, typeof(DateTime?)));

_current.Add(C_MODIFYUSERNAME, new ColumnInfo(C_MODIFYUSERNAME, "", false, typeof(String)));

_current.Add(C_CREATEUSERID, new ColumnInfo(C_CREATEUSERID, "", false, typeof(String)));

_current.Add(C_CREATEUSERNAME, new ColumnInfo(C_CREATEUSERNAME, "", false, typeof(String)));

_current.Add(C_MODIFYDATE, new ColumnInfo(C_MODIFYDATE, "", false, typeof(DateTime?)));

_current.Add(C_MODIFYUSERID, new ColumnInfo(C_MODIFYUSERID, "", false, typeof(String)));

_current.Add(C_KNIFESTATUS, new ColumnInfo(C_KNIFESTATUS, "", false, typeof(String)));

}

public ColumnInfo KNIFEID
{
get { return this[C_KNIFEID]; }
}

public ColumnInfo KNIFENAME
{
get { return this[C_KNIFENAME]; }
}

public ColumnInfo KNIFETYPEID
{
get { return this[C_KNIFETYPEID]; }
}

public ColumnInfo SPECIFICATIONS
{
get { return this[C_SPECIFICATIONS]; }
}

public ColumnInfo UNIT
{
get { return this[C_UNIT]; }
}

public ColumnInfo BELONGCUSTOMER
{
get { return this[C_BELONGCUSTOMER]; }
}

public ColumnInfo FACTORY
{
get { return this[C_FACTORY]; }
}

public ColumnInfo SAFESTOCK
{
get { return this[C_SAFESTOCK]; }
}

public ColumnInfo STATUS
{
get { return this[C_STATUS]; }
}

public ColumnInfo CREATEDATE
{
get { return this[C_CREATEDATE]; }
}

public ColumnInfo MODIFYUSERNAME
{
get { return this[C_MODIFYUSERNAME]; }
}

public ColumnInfo CREATEUSERID
{
get { return this[C_CREATEUSERID]; }
}

public ColumnInfo CREATEUSERNAME
{
get { return this[C_CREATEUSERNAME]; }
}

public ColumnInfo MODIFYDATE
{
get { return this[C_MODIFYDATE]; }
}

public ColumnInfo MODIFYUSERID
{
get { return this[C_MODIFYUSERID]; }
}

public ColumnInfo KNIFESTATUS
{
get { return this[C_KNIFESTATUS]; }
}

}
}